#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
pub struct SysMenuPageReq {
    pub page_no: Option<i64>,
    pub page_size: Option<i64>,
    pub menu_name: Option<String>,
}
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
pub struct SysMenuAddReq {
    pub menu_name: Option<String>,
    pub url: Option<String>,
    pub path: Option<String>,
    pub parent_id: Option<i64>,
    pub r#type: Option<u8>,
    pub permission: Option<String>,

}

#[derive(Debug, serde::Serialize, serde::Deserialize, Clone)]
pub struct MenuVo {
    pub id: Option<i64>,
    pub name: Option<String>,
    pub url: Option<String>,
    pub path: Option<String>,
    pub parent_id: Option<i64>,
    pub r#type: Option<u8>,
    pub children: Vec<MenuVo>,
}